/**
 * 本文件由尚数增量代码引擎生成
 * @author Shann <851188611@qq.com>
 */
import { request } from "../request";

export function getBanners(param?: any) {
  return request("/admin/banner", param);
}

export function getBanner(param?: any) {
  return request("/admin/banner/detail", param);
}

export function createBanner(param?: any) {
  return request("/admin/banner/create", param);
}

export function updateBanner(param?: any) {
  return request("/admin/banner/update", param);
}

export function deleteBanner(param?: any) {
  return request("/admin/banner/delete", param);
}
